Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MWPW-143973: CLS Issue with Grid Width #181

Merged
merged 1 commit into from
Mar 21, 2024
Merged

MWPW-143973: CLS Issue with Grid Width #181

merged 1 commit into from
Mar 21, 2024

Conversation

JasonHowellSlavin
Copy link
Contributor

@JasonHowellSlavin JasonHowellSlavin commented Mar 14, 2024

  • Removes display: block and resets two properties for the classes effected.

Context:
Display block is overriding the styles that Milo implements to prevent CLS. However, due to previous issues that occur with the grid-width classes, these styles were added to insure b.a.com pages did not break. There is a current PR to fix this in Milo, which would then necessitate us removing some of the code that was part of our hotfix.

However, when attempting to remove some of the hotfix CSS it caused issues on other pages where the CLS issue was observed. Until the changes in Milo get verified and then merged, we may need to keep the hotfix code in place.

See these PRs:

Resolves: MWPW-143973

Test URLs:

Copy link

aem-code-sync bot commented Mar 14, 2024

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

@Dli3 Dli3 added the verified it's been E2E tested by someone (that isn't the PR requestor) label Mar 20, 2024
@JasonHowellSlavin JasonHowellSlavin merged commit bfacc2d into stage Mar 21, 2024
5 of 6 checks passed
@JasonHowellSlavin JasonHowellSlavin deleted the cls-fix branch March 21, 2024 14:16
meganthecoder added a commit that referenced this pull request Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
verified it's been E2E tested by someone (that isn't the PR requestor)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants